from .views import UserLoginView, UserMobileView, UserRegisterView, MemrView, UserInfoView, AddressView, \
    ApplicationView, UserIDInfoView
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('login', UserLoginView, 'login')
router.register('register', UserRegisterView, 'register')
router.register('info', UserInfoView, 'info')
router.register('mobile', UserMobileView, 'mobile')
router.register('memr', MemrView, 'memr')
router.register('addr', AddressView, 'addr')
router.register('application', ApplicationView, 'application')
router.register('detail', UserIDInfoView, 'detail')
urlpatterns = [
]
urlpatterns += router.urls
